package com.ddmmo.exhibition.localBOSS.project.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 项目数据详情表PO类 - tb_project_data
 * </p>
 *
 * @author JiangYiji
 * @since 2024/10/30
 */
@Data
@TableName("tb_project_data")
@ApiModel(value = "TbProjectDataPO对象", description = "项目数据详情表")
public class TbProjectDataPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("分类ID")
    @TableField("classify_id")
    private String classifyId;

    @ApiModelProperty("相关解释文本")
    @TableField("description")
    private String description;

    @ApiModelProperty("图片URL地址")
    @TableField("picture_url")
    private String pictureUrl;

    @ApiModelProperty("视频URL地址")
    @TableField("video_url")
    private String videoUrl;

    @TableLogic
    @ApiModelProperty("是否删除  0-未删除 1-已删除")
    @TableField("del_flag")
    private Integer delFlag;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

}
